package com.project.service.impl;

import com.project.bean.TradeBean;
import com.project.dao.ITradeDao;
import com.project.dao.IUserDao;
import com.project.dao.impl.TradeDaoImpl;
import com.project.dao.impl.UserDaoImpl;
import com.project.service.ITradeService;

import java.util.ArrayList;
import java.util.List;

public class TradeServiceImpl implements ITradeService {

            private ITradeDao tradeDao = new TradeDaoImpl();
    @Override
    public List<TradeBean> findByCode(String code) {

        return tradeDao.findByCode(code);
    }
}
